Skip to content

v8: refactor to handle if to switch for ArrayBufferViewType#49479

Open
pluris wants to merge 1 commit intonodejs:mainfrom
pluris:feat/refactor_v8_array_buffer
Open

v8: refactor to handle if to switch for ArrayBufferViewType#49479
pluris wants to merge 1 commit intonodejs:mainfrom
pluris:feat/refactor_v8_array_buffer

Conversation

@pluris
Copy link
Contributor

@pluris pluris commented Sep 4, 2023

When there are many if statements, it is common to use switches for readability or performance.
Unless there is a specific reason, i think would be better to change it.

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Sep 4, 2023
@aduh95
Copy link
Contributor

aduh95 commented May 12, 2024

/cc @nodejs/v8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants